package com.tcenter.services;

import java.util.List;

/**
 * User: Andrey Pautov
 * Date: 27.05.13
 */
public interface BaseService<T> {

    void save(T entity);
    void update(T entity);
    void delete(T entity);
    T getById(Integer id);
    List<T> getAll();
}
